increase 1.21.0 → 1.22.0
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 +13 -0
- data/README.md +1 -1
- data/lib/increase/internal/transport/base_client.rb +1 -1
- data/lib/increase/models/physical_card_profile_clone_params.rb +9 -1
- data/lib/increase/resources/physical_card_profiles.rb +3 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/internal/transport/base_client.rbi +1 -1
- data/rbi/increase/models/physical_card_profile_clone_params.rbi +11 -0
- data/rbi/increase/resources/physical_card_profiles.rbi +3 -0
- data/sig/increase/internal/transport/base_client.rbs +1 -1
- data/sig/increase/models/physical_card_profile_clone_params.rbs +8 -1
- data/sig/increase/resources/physical_card_profiles.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb491c65d1f55e747b76568f0a3fb5d466112fb93137654b3fb8a54205f405f0
|
4
|
+
data.tar.gz: 01ed005d0894e359a6b166297b4e30a0e792f2e3bbe898d772500049330d357f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25872ee275f37c812cbd7a2abff301b1ecb011c4eaa68ac7fd421890fb32943b831cef8a27432335c22c0a70f6561f6a40a3aeb70d7e50e241ae90e0cf06ffa7
|
7
|
+
data.tar.gz: 6988f2aa085d8c463cfc5b111aeef138b260b5ec3fc5f64ffe4a8ce8620ebe09a6ea825ec77b36f0f0118a745a84cc92f2b3d74b82d1c1d110167de77da7c55d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.22.0 (2025-08-01)
|
4
|
+
|
5
|
+
Full Changelog: [v1.21.0...v1.22.0](https://github.com/Increase/increase-ruby/compare/v1.21.0...v1.22.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([7be51b2](https://github.com/Increase/increase-ruby/commit/7be51b29bbd7029482f6048e2fefc70fbf2b4163))
|
10
|
+
|
11
|
+
|
12
|
+
### Chores
|
13
|
+
|
14
|
+
* **internal:** increase visibility of internal helper method ([ac6bbf0](https://github.com/Increase/increase-ruby/commit/ac6bbf06ad0adedc4d3ad1e6549ddf437db09995))
|
15
|
+
|
3
16
|
## 1.21.0 (2025-07-29)
|
4
17
|
|
5
18
|
Full Changelog: [v1.20.0...v1.21.0](https://github.com/Increase/increase-ruby/compare/v1.20.0...v1.21.0)
|
data/README.md
CHANGED
@@ -365,7 +365,7 @@ module Increase
|
|
365
365
|
#
|
366
366
|
# @raise [Increase::Errors::APIError]
|
367
367
|
# @return [Array(Integer, Net::HTTPResponse, Enumerable<String>)]
|
368
|
-
|
368
|
+
def send_request(request, redirect_count:, retry_count:, send_retry_header:)
|
369
369
|
url, headers, max_retries, timeout = request.fetch_values(:url, :headers, :max_retries, :timeout)
|
370
370
|
input = {**request.except(:timeout), deadline: Increase::Internal::Util.monotonic_secs + timeout}
|
371
371
|
|
@@ -38,7 +38,13 @@ module Increase
|
|
38
38
|
# @return [Increase::Models::PhysicalCardProfileCloneParams::FrontText, nil]
|
39
39
|
optional :front_text, -> { Increase::PhysicalCardProfileCloneParams::FrontText }
|
40
40
|
|
41
|
-
# @!
|
41
|
+
# @!attribute program_id
|
42
|
+
# The identifier of the Program to use for the cloned Physical Card Profile.
|
43
|
+
#
|
44
|
+
# @return [String, nil]
|
45
|
+
optional :program_id, String
|
46
|
+
|
47
|
+
# @!method initialize(carrier_image_file_id: nil, contact_phone: nil, description: nil, front_image_file_id: nil, front_text: nil, program_id: nil, request_options: {})
|
42
48
|
# Some parameter documentations has been truncated, see
|
43
49
|
# {Increase::Models::PhysicalCardProfileCloneParams} for more details.
|
44
50
|
#
|
@@ -52,6 +58,8 @@ module Increase
|
|
52
58
|
#
|
53
59
|
# @param front_text [Increase::Models::PhysicalCardProfileCloneParams::FrontText] Text printed on the front of the card. Reach out to [support@increase.com](mailt
|
54
60
|
#
|
61
|
+
# @param program_id [String] The identifier of the Program to use for the cloned Physical Card Profile.
|
62
|
+
#
|
55
63
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
56
64
|
|
57
65
|
class FrontText < Increase::Internal::Type::BaseModel
|
@@ -115,7 +115,7 @@ module Increase
|
|
115
115
|
#
|
116
116
|
# Clone a Physical Card Profile
|
117
117
|
#
|
118
|
-
# @overload clone_(physical_card_profile_id, carrier_image_file_id: nil, contact_phone: nil, description: nil, front_image_file_id: nil, front_text: nil, request_options: {})
|
118
|
+
# @overload clone_(physical_card_profile_id, carrier_image_file_id: nil, contact_phone: nil, description: nil, front_image_file_id: nil, front_text: nil, program_id: nil, request_options: {})
|
119
119
|
#
|
120
120
|
# @param physical_card_profile_id [String] The identifier of the Physical Card Profile to clone.
|
121
121
|
#
|
@@ -129,6 +129,8 @@ module Increase
|
|
129
129
|
#
|
130
130
|
# @param front_text [Increase::Models::PhysicalCardProfileCloneParams::FrontText] Text printed on the front of the card. Reach out to [support@increase.com](mailt
|
131
131
|
#
|
132
|
+
# @param program_id [String] The identifier of the Program to use for the cloned Physical Card Profile.
|
133
|
+
#
|
132
134
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
133
135
|
#
|
134
136
|
# @return [Increase::Models::PhysicalCardProfile]
|
data/lib/increase/version.rb
CHANGED
@@ -57,6 +57,13 @@ module Increase
|
|
57
57
|
end
|
58
58
|
attr_writer :front_text
|
59
59
|
|
60
|
+
# The identifier of the Program to use for the cloned Physical Card Profile.
|
61
|
+
sig { returns(T.nilable(String)) }
|
62
|
+
attr_reader :program_id
|
63
|
+
|
64
|
+
sig { params(program_id: String).void }
|
65
|
+
attr_writer :program_id
|
66
|
+
|
60
67
|
sig do
|
61
68
|
params(
|
62
69
|
carrier_image_file_id: String,
|
@@ -65,6 +72,7 @@ module Increase
|
|
65
72
|
front_image_file_id: String,
|
66
73
|
front_text:
|
67
74
|
Increase::PhysicalCardProfileCloneParams::FrontText::OrHash,
|
75
|
+
program_id: String,
|
68
76
|
request_options: Increase::RequestOptions::OrHash
|
69
77
|
).returns(T.attached_class)
|
70
78
|
end
|
@@ -80,6 +88,8 @@ module Increase
|
|
80
88
|
# Text printed on the front of the card. Reach out to
|
81
89
|
# [support@increase.com](mailto:support@increase.com) for more information.
|
82
90
|
front_text: nil,
|
91
|
+
# The identifier of the Program to use for the cloned Physical Card Profile.
|
92
|
+
program_id: nil,
|
83
93
|
request_options: {}
|
84
94
|
)
|
85
95
|
end
|
@@ -92,6 +102,7 @@ module Increase
|
|
92
102
|
description: String,
|
93
103
|
front_image_file_id: String,
|
94
104
|
front_text: Increase::PhysicalCardProfileCloneParams::FrontText,
|
105
|
+
program_id: String,
|
95
106
|
request_options: Increase::RequestOptions
|
96
107
|
}
|
97
108
|
)
|
@@ -98,6 +98,7 @@ module Increase
|
|
98
98
|
front_image_file_id: String,
|
99
99
|
front_text:
|
100
100
|
Increase::PhysicalCardProfileCloneParams::FrontText::OrHash,
|
101
|
+
program_id: String,
|
101
102
|
request_options: Increase::RequestOptions::OrHash
|
102
103
|
).returns(Increase::PhysicalCardProfile)
|
103
104
|
end
|
@@ -115,6 +116,8 @@ module Increase
|
|
115
116
|
# Text printed on the front of the card. Reach out to
|
116
117
|
# [support@increase.com](mailto:support@increase.com) for more information.
|
117
118
|
front_text: nil,
|
119
|
+
# The identifier of the Program to use for the cloned Physical Card Profile.
|
120
|
+
program_id: nil,
|
118
121
|
request_options: {}
|
119
122
|
)
|
120
123
|
end
|
@@ -6,7 +6,8 @@ module Increase
|
|
6
6
|
contact_phone: String,
|
7
7
|
description: String,
|
8
8
|
front_image_file_id: String,
|
9
|
-
front_text: Increase::PhysicalCardProfileCloneParams::FrontText
|
9
|
+
front_text: Increase::PhysicalCardProfileCloneParams::FrontText,
|
10
|
+
program_id: String
|
10
11
|
}
|
11
12
|
& Increase::Internal::Type::request_parameters
|
12
13
|
|
@@ -36,12 +37,17 @@ module Increase
|
|
36
37
|
Increase::PhysicalCardProfileCloneParams::FrontText
|
37
38
|
) -> Increase::PhysicalCardProfileCloneParams::FrontText
|
38
39
|
|
40
|
+
attr_reader program_id: String?
|
41
|
+
|
42
|
+
def program_id=: (String) -> String
|
43
|
+
|
39
44
|
def initialize: (
|
40
45
|
?carrier_image_file_id: String,
|
41
46
|
?contact_phone: String,
|
42
47
|
?description: String,
|
43
48
|
?front_image_file_id: String,
|
44
49
|
?front_text: Increase::PhysicalCardProfileCloneParams::FrontText,
|
50
|
+
?program_id: String,
|
45
51
|
?request_options: Increase::request_opts
|
46
52
|
) -> void
|
47
53
|
|
@@ -51,6 +57,7 @@ module Increase
|
|
51
57
|
description: String,
|
52
58
|
front_image_file_id: String,
|
53
59
|
front_text: Increase::PhysicalCardProfileCloneParams::FrontText,
|
60
|
+
program_id: String,
|
54
61
|
request_options: Increase::RequestOptions
|
55
62
|
}
|
56
63
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: increase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Increase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|