dodopayments 1.18.0 → 1.18.1
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/CHANGELOG.md +18 -0
- data/README.md +1 -1
- data/lib/dodopayments/file_part.rb +55 -0
- data/lib/dodopayments/internal/transport/base_client.rb +3 -3
- data/lib/dodopayments/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/dodopayments/internal/type/converter.rb +1 -1
- data/lib/dodopayments/internal/type/{io_like.rb → file_input.rb} +8 -4
- data/lib/dodopayments/internal/util.rb +69 -61
- data/lib/dodopayments/models/billing_address.rb +9 -5
- data/lib/dodopayments/models/create_new_customer.rb +8 -1
- data/lib/dodopayments/models/customer_limited_details.rb +5 -3
- data/lib/dodopayments/models/customer_list_params.rb +4 -2
- data/lib/dodopayments/models/customers/customer_portal_create_params.rb +2 -1
- data/lib/dodopayments/models/discount.rb +23 -10
- data/lib/dodopayments/models/discount_create_params.rb +15 -5
- data/lib/dodopayments/models/discount_list_params.rb +4 -2
- data/lib/dodopayments/models/discount_update_params.rb +13 -3
- data/lib/dodopayments/models/dispute.rb +17 -6
- data/lib/dodopayments/models/dispute_list_params.rb +14 -7
- data/lib/dodopayments/models/license_key.rb +26 -11
- data/lib/dodopayments/models/license_key_instance_list_params.rb +6 -3
- data/lib/dodopayments/models/license_key_list_params.rb +10 -5
- data/lib/dodopayments/models/license_key_update_params.rb +9 -3
- data/lib/dodopayments/models/one_time_product_cart_item.rb +7 -1
- data/lib/dodopayments/models/payment.rb +41 -16
- data/lib/dodopayments/models/payment_create_params.rb +22 -7
- data/lib/dodopayments/models/payment_create_response.rb +16 -6
- data/lib/dodopayments/models/payment_list_params.rb +14 -7
- data/lib/dodopayments/models/payout_list_params.rb +4 -2
- data/lib/dodopayments/models/payout_list_response.rb +27 -13
- data/lib/dodopayments/models/price.rb +38 -13
- data/lib/dodopayments/models/product.rb +31 -13
- data/lib/dodopayments/models/product_create_params.rb +20 -7
- data/lib/dodopayments/models/product_list_params.rb +11 -4
- data/lib/dodopayments/models/product_list_response.rb +27 -11
- data/lib/dodopayments/models/product_update_params.rb +22 -8
- data/lib/dodopayments/models/refund.rb +13 -6
- data/lib/dodopayments/models/refund_create_params.rb +4 -2
- data/lib/dodopayments/models/refund_list_params.rb +12 -6
- data/lib/dodopayments/models/subscription.rb +37 -13
- data/lib/dodopayments/models/subscription_change_plan_params.rb +5 -2
- data/lib/dodopayments/models/subscription_charge_params.rb +6 -1
- data/lib/dodopayments/models/subscription_create_params.rb +34 -11
- data/lib/dodopayments/models/subscription_create_response.rb +15 -5
- data/lib/dodopayments/models/subscription_list_params.rb +12 -6
- data/lib/dodopayments/models/webhook_event_list_params.rb +16 -6
- data/lib/dodopayments/resources/customers/customer_portal.rb +4 -2
- data/lib/dodopayments/resources/customers.rb +10 -4
- data/lib/dodopayments/resources/discounts.rb +38 -13
- data/lib/dodopayments/resources/disputes.rb +16 -8
- data/lib/dodopayments/resources/license_key_instances.rb +11 -5
- data/lib/dodopayments/resources/license_keys.rb +23 -10
- data/lib/dodopayments/resources/payments.rb +38 -15
- data/lib/dodopayments/resources/payouts.rb +4 -2
- data/lib/dodopayments/resources/products/images.rb +3 -1
- data/lib/dodopayments/resources/products.rb +56 -20
- data/lib/dodopayments/resources/refunds.rb +18 -9
- data/lib/dodopayments/resources/subscriptions.rb +62 -22
- data/lib/dodopayments/resources/webhook_events.rb +16 -6
- data/lib/dodopayments/version.rb +1 -1
- data/lib/dodopayments.rb +2 -1
- data/rbi/lib/dodopayments/file_part.rbi +34 -0
- data/rbi/lib/dodopayments/internal/transport/base_client.rbi +17 -3
- data/rbi/lib/dodopayments/internal/type/{io_like.rbi → file_input.rbi} +6 -2
- data/rbi/lib/dodopayments/internal/util.rbi +24 -19
- data/rbi/lib/dodopayments/models/billing_address.rbi +12 -2
- data/rbi/lib/dodopayments/models/create_new_customer.rbi +9 -2
- data/rbi/lib/dodopayments/models/customer_limited_details.rbi +8 -2
- data/rbi/lib/dodopayments/models/customer_list_params.rbi +7 -2
- data/rbi/lib/dodopayments/models/customers/customer_portal_create_params.rbi +5 -2
- data/rbi/lib/dodopayments/models/discount.rbi +14 -0
- data/rbi/lib/dodopayments/models/discount_create_params.rbi +15 -0
- data/rbi/lib/dodopayments/models/discount_list_params.rbi +7 -2
- data/rbi/lib/dodopayments/models/discount_update_params.rbi +10 -0
- data/rbi/lib/dodopayments/models/dispute.rbi +8 -3
- data/rbi/lib/dodopayments/models/dispute_list_params.rbi +7 -0
- data/rbi/lib/dodopayments/models/license_key.rbi +12 -0
- data/rbi/lib/dodopayments/models/license_key_instance_list_params.rbi +9 -2
- data/rbi/lib/dodopayments/models/license_key_list_params.rbi +6 -3
- data/rbi/lib/dodopayments/models/license_key_update_params.rbi +12 -2
- data/rbi/lib/dodopayments/models/one_time_product_cart_item.rbi +8 -2
- data/rbi/lib/dodopayments/models/payment.rbi +19 -0
- data/rbi/lib/dodopayments/models/payment_create_params.rbi +14 -0
- data/rbi/lib/dodopayments/models/payment_create_response.rbi +7 -0
- data/rbi/lib/dodopayments/models/payment_list_params.rbi +7 -0
- data/rbi/lib/dodopayments/models/payout_list_params.rbi +7 -2
- data/rbi/lib/dodopayments/models/payout_list_response.rbi +13 -0
- data/rbi/lib/dodopayments/models/price.rbi +25 -0
- data/rbi/lib/dodopayments/models/product.rbi +14 -0
- data/rbi/lib/dodopayments/models/product_create_params.rbi +8 -0
- data/rbi/lib/dodopayments/models/product_list_params.rbi +15 -2
- data/rbi/lib/dodopayments/models/product_list_response.rbi +21 -0
- data/rbi/lib/dodopayments/models/product_update_params.rbi +18 -0
- data/rbi/lib/dodopayments/models/refund.rbi +7 -3
- data/rbi/lib/dodopayments/models/refund_create_params.rbi +7 -2
- data/rbi/lib/dodopayments/models/refund_list_params.rbi +6 -0
- data/rbi/lib/dodopayments/models/subscription.rbi +15 -0
- data/rbi/lib/dodopayments/models/subscription_change_plan_params.rbi +8 -2
- data/rbi/lib/dodopayments/models/subscription_charge_params.rbi +6 -2
- data/rbi/lib/dodopayments/models/subscription_create_params.rbi +25 -2
- data/rbi/lib/dodopayments/models/subscription_create_response.rbi +7 -0
- data/rbi/lib/dodopayments/models/subscription_list_params.rbi +6 -0
- data/rbi/lib/dodopayments/models/webhook_event_list_params.rbi +6 -0
- data/sig/dodopayments/file_part.rbs +21 -0
- data/sig/dodopayments/internal/transport/base_client.rbs +9 -3
- data/sig/dodopayments/internal/type/{io_like.rbs → file_input.rbs} +1 -1
- data/sig/dodopayments/internal/util.rbs +14 -12
- metadata +8 -5
@@ -89,15 +89,33 @@ module Dodopayments
|
|
89
89
|
.returns(T.attached_class)
|
90
90
|
end
|
91
91
|
def self.new(
|
92
|
+
# Available Addons for subscription products
|
92
93
|
addons: nil,
|
94
|
+
# Description of the product, optional and must be at most 1000 characters.
|
93
95
|
description: nil,
|
96
|
+
# Product image id after its uploaded to S3
|
94
97
|
image_id: nil,
|
98
|
+
# Message sent to the customer upon license key activation.
|
99
|
+
#
|
100
|
+
# Only applicable if `license_key_enabled` is `true`. This message contains
|
101
|
+
# instructions for activating the license key.
|
95
102
|
license_key_activation_message: nil,
|
103
|
+
# Limit for the number of activations for the license key.
|
104
|
+
#
|
105
|
+
# Only applicable if `license_key_enabled` is `true`. Represents the maximum
|
106
|
+
# number of times the license key can be activated.
|
96
107
|
license_key_activations_limit: nil,
|
97
108
|
license_key_duration: nil,
|
109
|
+
# Whether the product requires a license key.
|
110
|
+
#
|
111
|
+
# If `true`, additional fields related to license key (duration, activations
|
112
|
+
# limit, activation message) become applicable.
|
98
113
|
license_key_enabled: nil,
|
114
|
+
# Name of the product, optional and must be at most 100 characters.
|
99
115
|
name: nil,
|
100
116
|
price: nil,
|
117
|
+
# Represents the different categories of taxation applicable to various products
|
118
|
+
# and services.
|
101
119
|
tax_category: nil,
|
102
120
|
request_options: {}
|
103
121
|
); end
|
@@ -47,17 +47,21 @@ module Dodopayments
|
|
47
47
|
.returns(T.attached_class)
|
48
48
|
end
|
49
49
|
def self.new(
|
50
|
+
# The unique identifier of the business issuing the refund.
|
50
51
|
business_id:,
|
52
|
+
# The timestamp of when the refund was created in UTC.
|
51
53
|
created_at:,
|
54
|
+
# The unique identifier of the payment associated with the refund.
|
52
55
|
payment_id:,
|
56
|
+
# The unique identifier of the refund.
|
53
57
|
refund_id:,
|
54
58
|
status:,
|
59
|
+
# The refunded amount.
|
55
60
|
amount: nil,
|
56
61
|
currency: nil,
|
62
|
+
# The reason provided for the refund, if any. Optional.
|
57
63
|
reason: nil
|
58
|
-
)
|
59
|
-
end
|
60
|
-
|
64
|
+
); end
|
61
65
|
sig do
|
62
66
|
override
|
63
67
|
.returns(
|
@@ -22,8 +22,13 @@ module Dodopayments
|
|
22
22
|
)
|
23
23
|
.returns(T.attached_class)
|
24
24
|
end
|
25
|
-
def self.new(
|
26
|
-
|
25
|
+
def self.new(
|
26
|
+
# The unique identifier of the payment to be refunded.
|
27
|
+
payment_id:,
|
28
|
+
# The reason for the refund, if any. Maximum length is 3000 characters. Optional.
|
29
|
+
reason: nil,
|
30
|
+
request_options: {}
|
31
|
+
); end
|
27
32
|
sig do
|
28
33
|
override
|
29
34
|
.returns({
|
@@ -43,11 +43,17 @@ module Dodopayments
|
|
43
43
|
.returns(T.attached_class)
|
44
44
|
end
|
45
45
|
def self.new(
|
46
|
+
# Get events after this created time
|
46
47
|
created_at_gte: nil,
|
48
|
+
# Get events created before this time
|
47
49
|
created_at_lte: nil,
|
50
|
+
# Filter by customer_id
|
48
51
|
customer_id: nil,
|
52
|
+
# Page number default is 0
|
49
53
|
page_number: nil,
|
54
|
+
# Page size default is 10 max is 100
|
50
55
|
page_size: nil,
|
56
|
+
# Filter by status
|
51
57
|
status: nil,
|
52
58
|
request_options: {}
|
53
59
|
); end
|
@@ -114,24 +114,39 @@ module Dodopayments
|
|
114
114
|
end
|
115
115
|
def self.new(
|
116
116
|
billing:,
|
117
|
+
# Timestamp when the subscription was created
|
117
118
|
created_at:,
|
118
119
|
currency:,
|
119
120
|
customer:,
|
120
121
|
metadata:,
|
122
|
+
# Timestamp of the next scheduled billing. Indicates the end of current billing
|
123
|
+
# period
|
121
124
|
next_billing_date:,
|
125
|
+
# Number of payment frequency intervals
|
122
126
|
payment_frequency_count:,
|
123
127
|
payment_frequency_interval:,
|
128
|
+
# Timestamp of the last payment. Indicates the start of current billing period
|
124
129
|
previous_billing_date:,
|
130
|
+
# Identifier of the product associated with this subscription
|
125
131
|
product_id:,
|
132
|
+
# Number of units/items included in the subscription
|
126
133
|
quantity:,
|
134
|
+
# Amount charged before tax for each recurring payment in smallest currency unit
|
135
|
+
# (e.g. cents)
|
127
136
|
recurring_pre_tax_amount:,
|
128
137
|
status:,
|
138
|
+
# Unique identifier for the subscription
|
129
139
|
subscription_id:,
|
140
|
+
# Number of subscription period intervals
|
130
141
|
subscription_period_count:,
|
131
142
|
subscription_period_interval:,
|
143
|
+
# Indicates if the recurring_pre_tax_amount is tax inclusive
|
132
144
|
tax_inclusive:,
|
145
|
+
# Number of days in the trial period (0 if no trial)
|
133
146
|
trial_period_days:,
|
147
|
+
# Cancelled timestamp if the subscription is cancelled
|
134
148
|
cancelled_at: nil,
|
149
|
+
# The discount id if discount is applied
|
135
150
|
discount_id: nil
|
136
151
|
); end
|
137
152
|
sig do
|
@@ -26,8 +26,14 @@ module Dodopayments
|
|
26
26
|
)
|
27
27
|
.returns(T.attached_class)
|
28
28
|
end
|
29
|
-
def self.new(
|
30
|
-
|
29
|
+
def self.new(
|
30
|
+
# Unique identifier of the product to subscribe to
|
31
|
+
product_id:,
|
32
|
+
proration_billing_mode:,
|
33
|
+
# Number of units to subscribe for. Must be at least 1.
|
34
|
+
quantity:,
|
35
|
+
request_options: {}
|
36
|
+
); end
|
31
37
|
sig do
|
32
38
|
override
|
33
39
|
.returns(
|
@@ -18,8 +18,12 @@ module Dodopayments
|
|
18
18
|
)
|
19
19
|
.returns(T.attached_class)
|
20
20
|
end
|
21
|
-
def self.new(
|
22
|
-
|
21
|
+
def self.new(
|
22
|
+
# The product price. Represented in the lowest denomination of the currency (e.g.,
|
23
|
+
# cents for USD). For example, to charge $1.00, pass `100`.
|
24
|
+
product_price:,
|
25
|
+
request_options: {}
|
26
|
+
); end
|
23
27
|
sig { override.returns({product_price: Integer, request_options: Dodopayments::RequestOptions}) }
|
24
28
|
def to_hash; end
|
25
29
|
end
|
@@ -116,17 +116,33 @@ module Dodopayments
|
|
116
116
|
def self.new(
|
117
117
|
billing:,
|
118
118
|
customer:,
|
119
|
+
# Unique identifier of the product to subscribe to
|
119
120
|
product_id:,
|
121
|
+
# Number of units to subscribe for. Must be at least 1.
|
120
122
|
quantity:,
|
123
|
+
# List of payment methods allowed during checkout.
|
124
|
+
#
|
125
|
+
# Customers will **never** see payment methods that are **not** in this list.
|
126
|
+
# However, adding a method here **does not guarantee** customers will see it.
|
127
|
+
# Availability still depends on other factors (e.g., customer location, merchant
|
128
|
+
# settings).
|
121
129
|
allowed_payment_method_types: nil,
|
122
130
|
billing_currency: nil,
|
131
|
+
# Discount Code to apply to the subscription
|
123
132
|
discount_code: nil,
|
124
133
|
metadata: nil,
|
125
134
|
on_demand: nil,
|
135
|
+
# If true, generates a payment link. Defaults to false if not specified.
|
126
136
|
payment_link: nil,
|
137
|
+
# Optional URL to redirect after successful subscription creation
|
127
138
|
return_url: nil,
|
139
|
+
# Display saved payment methods of a returning customer False by default
|
128
140
|
show_saved_payment_methods: nil,
|
141
|
+
# Tax ID in case the payment is B2B. If tax id validation fails the payment
|
142
|
+
# creation will fail
|
129
143
|
tax_id: nil,
|
144
|
+
# Optional trial period in days If specified, this value overrides the trial
|
145
|
+
# period set in the product's price Must be between 0 and 10000 days
|
130
146
|
trial_period_days: nil,
|
131
147
|
request_options: {}
|
132
148
|
); end
|
@@ -382,8 +398,15 @@ module Dodopayments
|
|
382
398
|
attr_accessor :product_price
|
383
399
|
|
384
400
|
sig { params(mandate_only: T::Boolean, product_price: T.nilable(Integer)).returns(T.attached_class) }
|
385
|
-
def self.new(
|
386
|
-
|
401
|
+
def self.new(
|
402
|
+
# If set as True, does not perform any charge and only authorizes payment method
|
403
|
+
# details for future use.
|
404
|
+
mandate_only:,
|
405
|
+
# Product price for the initial charge to customer If not specified the stored
|
406
|
+
# price of the product will be used Represented in the lowest denomination of the
|
407
|
+
# currency (e.g., cents for USD). For example, to charge $1.00, pass `100`.
|
408
|
+
product_price: nil
|
409
|
+
); end
|
387
410
|
sig { override.returns({mandate_only: T::Boolean, product_price: T.nilable(Integer)}) }
|
388
411
|
def to_hash; end
|
389
412
|
end
|
@@ -51,10 +51,17 @@ module Dodopayments
|
|
51
51
|
def self.new(
|
52
52
|
customer:,
|
53
53
|
metadata:,
|
54
|
+
# Tax will be added to the amount and charged to the customer on each billing
|
55
|
+
# cycle
|
54
56
|
recurring_pre_tax_amount:,
|
57
|
+
# Unique identifier for the subscription
|
55
58
|
subscription_id:,
|
59
|
+
# Client secret used to load Dodo checkout SDK NOTE : Dodo checkout SDK will be
|
60
|
+
# coming soon
|
56
61
|
client_secret: nil,
|
62
|
+
# The discount id if discount is applied
|
57
63
|
discount_id: nil,
|
64
|
+
# URL to checkout page
|
58
65
|
payment_link: nil
|
59
66
|
); end
|
60
67
|
sig do
|
@@ -43,11 +43,17 @@ module Dodopayments
|
|
43
43
|
.returns(T.attached_class)
|
44
44
|
end
|
45
45
|
def self.new(
|
46
|
+
# Get events after this created time
|
46
47
|
created_at_gte: nil,
|
48
|
+
# Get events created before this time
|
47
49
|
created_at_lte: nil,
|
50
|
+
# Filter by customer id
|
48
51
|
customer_id: nil,
|
52
|
+
# Page number default is 0
|
49
53
|
page_number: nil,
|
54
|
+
# Page size default is 10 max is 100
|
50
55
|
page_size: nil,
|
56
|
+
# Filter by status
|
51
57
|
status: nil,
|
52
58
|
request_options: {}
|
53
59
|
); end
|
@@ -43,11 +43,17 @@ module Dodopayments
|
|
43
43
|
.returns(T.attached_class)
|
44
44
|
end
|
45
45
|
def self.new(
|
46
|
+
# Get events after this created time
|
46
47
|
created_at_gte: nil,
|
48
|
+
# Get events created before this time
|
47
49
|
created_at_lte: nil,
|
50
|
+
# Min : 1, Max : 100, default 10
|
48
51
|
limit: nil,
|
52
|
+
# Get events history of a specific object like payment/subscription/refund/dispute
|
49
53
|
object_id_: nil,
|
54
|
+
# Page number default is 0
|
50
55
|
page_number: nil,
|
56
|
+
# Page size default is 10 max is 100
|
51
57
|
page_size: nil,
|
52
58
|
request_options: {}
|
53
59
|
); end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module Dodopayments
|
2
|
+
class FilePart
|
3
|
+
attr_reader content: Pathname | StringIO | IO | String
|
4
|
+
|
5
|
+
attr_reader content_type: String?
|
6
|
+
|
7
|
+
attr_reader filename: String?
|
8
|
+
|
9
|
+
private def read: -> String
|
10
|
+
|
11
|
+
def to_json: (*top a) -> String
|
12
|
+
|
13
|
+
def to_yaml: (*top a) -> String
|
14
|
+
|
15
|
+
def initialize: (
|
16
|
+
Pathname | StringIO | IO | String content,
|
17
|
+
?filename: String?,
|
18
|
+
?content_type: String?
|
19
|
+
) -> void
|
20
|
+
end
|
21
|
+
end
|
@@ -11,7 +11,10 @@ module Dodopayments
|
|
11
11
|
| Integer
|
12
12
|
| ::Array[(String | Integer)?])?]?,
|
13
13
|
body: top?,
|
14
|
-
unwrap: Symbol
|
14
|
+
unwrap: (Symbol
|
15
|
+
| Integer
|
16
|
+
| ::Array[(Symbol | Integer)]
|
17
|
+
| (^(top arg0) -> top))?,
|
15
18
|
page: Class?,
|
16
19
|
stream: Class?,
|
17
20
|
model: Dodopayments::Internal::Type::Converter::input?,
|
@@ -53,7 +56,7 @@ module Dodopayments
|
|
53
56
|
) -> void
|
54
57
|
|
55
58
|
# @api private
|
56
|
-
|
59
|
+
attr_reader requester: Dodopayments::Internal::Transport::PooledNetRequester
|
57
60
|
|
58
61
|
def initialize: (
|
59
62
|
base_url: String,
|
@@ -96,7 +99,10 @@ module Dodopayments
|
|
96
99
|
| Integer
|
97
100
|
| ::Array[(String | Integer)?])?]?,
|
98
101
|
?body: top?,
|
99
|
-
?unwrap: Symbol
|
102
|
+
?unwrap: (Symbol
|
103
|
+
| Integer
|
104
|
+
| ::Array[(Symbol | Integer)]
|
105
|
+
| (^(top arg0) -> top))?,
|
100
106
|
?page: Class?,
|
101
107
|
?stream: Class?,
|
102
108
|
?model: Dodopayments::Internal::Type::Converter::input?,
|
@@ -29,8 +29,10 @@ module Dodopayments
|
|
29
29
|
|
30
30
|
def self?.dig: (
|
31
31
|
::Hash[Symbol, top] | ::Array[top] | top data,
|
32
|
-
(Symbol
|
33
|
-
|
32
|
+
(Symbol
|
33
|
+
| Integer
|
34
|
+
| ::Array[(Symbol | Integer)]
|
35
|
+
| (^(top arg0) -> top))? pick
|
34
36
|
) {
|
35
37
|
-> top?
|
36
38
|
} -> top?
|
@@ -73,16 +75,6 @@ module Dodopayments
|
|
73
75
|
| ::Array[(String | Integer)?])?] headers
|
74
76
|
) -> ::Hash[String, String]
|
75
77
|
|
76
|
-
class SerializationAdapter
|
77
|
-
attr_reader inner: Pathname | IO
|
78
|
-
|
79
|
-
def to_json: (*top a) -> String
|
80
|
-
|
81
|
-
def to_yaml: (*top a) -> String
|
82
|
-
|
83
|
-
def initialize: (Pathname | IO inner) -> void
|
84
|
-
end
|
85
|
-
|
86
78
|
class ReadIOAdapter
|
87
79
|
def close?: -> bool?
|
88
80
|
|
@@ -103,6 +95,16 @@ module Dodopayments
|
|
103
95
|
(Enumerator::Yielder y) -> void
|
104
96
|
} -> Enumerable[String]
|
105
97
|
|
98
|
+
JSON_CONTENT: Regexp
|
99
|
+
JSONL_CONTENT: Regexp
|
100
|
+
|
101
|
+
def self?.write_multipart_content: (
|
102
|
+
Enumerator::Yielder y,
|
103
|
+
val: top,
|
104
|
+
closing: ::Array[^-> void],
|
105
|
+
?content_type: String?
|
106
|
+
) -> void
|
107
|
+
|
106
108
|
def self?.write_multipart_chunk: (
|
107
109
|
Enumerator::Yielder y,
|
108
110
|
boundary: String,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dodopayments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.18.
|
4
|
+
version: 1.18.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dodo Payments
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|
@@ -38,6 +38,7 @@ files:
|
|
38
38
|
- lib/dodopayments.rb
|
39
39
|
- lib/dodopayments/client.rb
|
40
40
|
- lib/dodopayments/errors.rb
|
41
|
+
- lib/dodopayments/file_part.rb
|
41
42
|
- lib/dodopayments/internal.rb
|
42
43
|
- lib/dodopayments/internal/default_page_number_pagination.rb
|
43
44
|
- lib/dodopayments/internal/transport/base_client.rb
|
@@ -48,8 +49,8 @@ files:
|
|
48
49
|
- lib/dodopayments/internal/type/boolean.rb
|
49
50
|
- lib/dodopayments/internal/type/converter.rb
|
50
51
|
- lib/dodopayments/internal/type/enum.rb
|
52
|
+
- lib/dodopayments/internal/type/file_input.rb
|
51
53
|
- lib/dodopayments/internal/type/hash_of.rb
|
52
|
-
- lib/dodopayments/internal/type/io_like.rb
|
53
54
|
- lib/dodopayments/internal/type/request_parameters.rb
|
54
55
|
- lib/dodopayments/internal/type/union.rb
|
55
56
|
- lib/dodopayments/internal/type/unknown.rb
|
@@ -158,6 +159,7 @@ files:
|
|
158
159
|
- manifest.yaml
|
159
160
|
- rbi/lib/dodopayments/client.rbi
|
160
161
|
- rbi/lib/dodopayments/errors.rbi
|
162
|
+
- rbi/lib/dodopayments/file_part.rbi
|
161
163
|
- rbi/lib/dodopayments/internal.rbi
|
162
164
|
- rbi/lib/dodopayments/internal/default_page_number_pagination.rbi
|
163
165
|
- rbi/lib/dodopayments/internal/transport/base_client.rbi
|
@@ -168,8 +170,8 @@ files:
|
|
168
170
|
- rbi/lib/dodopayments/internal/type/boolean.rbi
|
169
171
|
- rbi/lib/dodopayments/internal/type/converter.rbi
|
170
172
|
- rbi/lib/dodopayments/internal/type/enum.rbi
|
173
|
+
- rbi/lib/dodopayments/internal/type/file_input.rbi
|
171
174
|
- rbi/lib/dodopayments/internal/type/hash_of.rbi
|
172
|
-
- rbi/lib/dodopayments/internal/type/io_like.rbi
|
173
175
|
- rbi/lib/dodopayments/internal/type/request_parameters.rbi
|
174
176
|
- rbi/lib/dodopayments/internal/type/union.rbi
|
175
177
|
- rbi/lib/dodopayments/internal/type/unknown.rbi
|
@@ -277,6 +279,7 @@ files:
|
|
277
279
|
- rbi/lib/dodopayments/version.rbi
|
278
280
|
- sig/dodopayments/client.rbs
|
279
281
|
- sig/dodopayments/errors.rbs
|
282
|
+
- sig/dodopayments/file_part.rbs
|
280
283
|
- sig/dodopayments/internal.rbs
|
281
284
|
- sig/dodopayments/internal/default_page_number_pagination.rbs
|
282
285
|
- sig/dodopayments/internal/transport/base_client.rbs
|
@@ -287,8 +290,8 @@ files:
|
|
287
290
|
- sig/dodopayments/internal/type/boolean.rbs
|
288
291
|
- sig/dodopayments/internal/type/converter.rbs
|
289
292
|
- sig/dodopayments/internal/type/enum.rbs
|
293
|
+
- sig/dodopayments/internal/type/file_input.rbs
|
290
294
|
- sig/dodopayments/internal/type/hash_of.rbs
|
291
|
-
- sig/dodopayments/internal/type/io_like.rbs
|
292
295
|
- sig/dodopayments/internal/type/request_parameters.rbs
|
293
296
|
- sig/dodopayments/internal/type/union.rbs
|
294
297
|
- sig/dodopayments/internal/type/unknown.rbs
|