increase 1.304.0 → 1.306.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 +17 -0
- data/README.md +1 -1
- data/lib/increase/client.rb +21 -3
- data/lib/increase/models/card_push_transfer.rb +3 -0
- data/lib/increase/models/card_token_capabilities.rb +3 -0
- data/lib/increase/models/card_validation.rb +3 -0
- data/lib/increase/models/check_deposit.rb +7 -6
- data/lib/increase/models/inbound_mail_item.rb +22 -7
- data/lib/increase/models/inbound_mail_item_list_params.rb +13 -5
- data/lib/increase/models/lockbox_address.rb +162 -0
- data/lib/increase/models/lockbox_address_create_params.rb +22 -0
- data/lib/increase/models/{lockbox_list_params.rb → lockbox_address_list_params.rb} +8 -16
- data/lib/increase/models/lockbox_address_retrieve_params.rb +22 -0
- data/lib/increase/models/lockbox_address_update_params.rb +55 -0
- data/lib/increase/models/lockbox_recipient.rb +135 -0
- data/lib/increase/models/lockbox_recipient_create_params.rb +49 -0
- data/lib/increase/models/lockbox_recipient_list_params.rb +110 -0
- data/lib/increase/models/lockbox_recipient_retrieve_params.rb +22 -0
- data/lib/increase/models/lockbox_recipient_update_params.rb +63 -0
- data/lib/increase/models/simulations/card_token_create_params.rb +3 -0
- data/lib/increase/models/simulations/inbound_mail_item_create_params.rb +17 -9
- data/lib/increase/models.rb +15 -5
- data/lib/increase/resources/inbound_mail_items.rb +4 -2
- data/lib/increase/resources/lockbox_addresses.rb +115 -0
- data/lib/increase/resources/lockbox_recipients.rb +130 -0
- data/lib/increase/resources/simulations/inbound_mail_items.rb +5 -3
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +12 -6
- data/rbi/increase/client.rbi +5 -2
- data/rbi/increase/models/card_push_transfer.rbi +3 -0
- data/rbi/increase/models/card_token_capabilities.rbi +7 -0
- data/rbi/increase/models/card_validation.rbi +3 -0
- data/rbi/increase/models/check_deposit.rbi +10 -8
- data/rbi/increase/models/inbound_mail_item.rbi +32 -9
- data/rbi/increase/models/inbound_mail_item_list_params.rbi +19 -8
- data/rbi/increase/models/lockbox_address.rbi +228 -0
- data/rbi/increase/models/lockbox_address_create_params.rbi +46 -0
- data/rbi/increase/models/{lockbox_list_params.rbi → lockbox_address_list_params.rbi} +9 -18
- data/rbi/increase/models/{lockbox_retrieve_params.rbi → lockbox_address_retrieve_params.rbi} +14 -8
- data/rbi/increase/models/lockbox_address_update_params.rbi +116 -0
- data/rbi/increase/models/lockbox_recipient.rbi +182 -0
- data/rbi/increase/models/{lockbox_create_params.rbi → lockbox_recipient_create_params.rbi} +19 -8
- data/rbi/increase/models/lockbox_recipient_list_params.rbi +190 -0
- data/rbi/increase/models/lockbox_recipient_retrieve_params.rbi +46 -0
- data/rbi/increase/models/lockbox_recipient_update_params.rbi +129 -0
- data/rbi/increase/models/simulations/card_token_create_params.rbi +7 -0
- data/rbi/increase/models/simulations/inbound_mail_item_create_params.rbi +22 -8
- data/rbi/increase/models.rbi +16 -5
- data/rbi/increase/resources/inbound_mail_items.rbi +6 -3
- data/rbi/increase/resources/lockbox_addresses.rbi +86 -0
- data/rbi/increase/resources/{lockboxes.rbi → lockbox_recipients.rbi} +31 -26
- data/rbi/increase/resources/simulations/inbound_mail_items.rbi +6 -3
- data/sig/increase/client.rbs +3 -1
- data/sig/increase/models/card_push_transfer.rbs +4 -1
- data/sig/increase/models/card_token_capabilities.rbs +4 -1
- data/sig/increase/models/card_validation.rbs +4 -1
- data/sig/increase/models/check_deposit.rbs +4 -4
- data/sig/increase/models/inbound_mail_item.rbs +20 -5
- data/sig/increase/models/inbound_mail_item_list_params.rbs +12 -5
- data/sig/increase/models/lockbox_address.rbs +117 -0
- data/sig/increase/models/lockbox_address_create_params.rbs +25 -0
- data/sig/increase/models/{lockbox_list_params.rbs → lockbox_address_list_params.rbs} +8 -15
- data/sig/increase/models/{lockbox_retrieve_params.rbs → lockbox_address_retrieve_params.rbs} +7 -6
- data/sig/increase/models/lockbox_address_update_params.rbs +59 -0
- data/sig/increase/models/lockbox_recipient.rbs +92 -0
- data/sig/increase/models/{lockbox_create_params.rbs → lockbox_recipient_create_params.rbs} +12 -3
- data/sig/increase/models/lockbox_recipient_list_params.rbs +100 -0
- data/sig/increase/models/lockbox_recipient_retrieve_params.rbs +24 -0
- data/sig/increase/models/lockbox_recipient_update_params.rbs +66 -0
- data/sig/increase/models/simulations/card_token_create_params.rbs +4 -1
- data/sig/increase/models/simulations/inbound_mail_item_create_params.rbs +18 -5
- data/sig/increase/models.rbs +15 -5
- data/sig/increase/resources/inbound_mail_items.rbs +2 -1
- data/sig/increase/resources/lockbox_addresses.rbs +32 -0
- data/sig/increase/resources/{lockboxes.rbs → lockbox_recipients.rbs} +11 -9
- data/sig/increase/resources/simulations/inbound_mail_items.rbs +2 -1
- metadata +38 -20
- data/lib/increase/models/lockbox.rb +0 -185
- data/lib/increase/models/lockbox_create_params.rb +0 -38
- data/lib/increase/models/lockbox_retrieve_params.rb +0 -22
- data/lib/increase/models/lockbox_update_params.rb +0 -63
- data/lib/increase/resources/lockboxes.rb +0 -123
- data/rbi/increase/models/lockbox.rbi +0 -251
- data/rbi/increase/models/lockbox_update_params.rbi +0 -131
- data/sig/increase/models/lockbox.rbs +0 -129
- data/sig/increase/models/lockbox_update_params.rbs +0 -66
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Increase
|
|
4
|
-
module Models
|
|
5
|
-
class LockboxUpdateParams < Increase::Internal::Type::BaseModel
|
|
6
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
-
include Increase::Internal::Type::RequestParameters
|
|
8
|
-
|
|
9
|
-
OrHash =
|
|
10
|
-
T.type_alias do
|
|
11
|
-
T.any(Increase::LockboxUpdateParams, Increase::Internal::AnyHash)
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
# The identifier of the Lockbox.
|
|
15
|
-
sig { returns(String) }
|
|
16
|
-
attr_accessor :lockbox_id
|
|
17
|
-
|
|
18
|
-
# This indicates if checks mailed to this lockbox will be deposited.
|
|
19
|
-
sig do
|
|
20
|
-
returns(
|
|
21
|
-
T.nilable(
|
|
22
|
-
Increase::LockboxUpdateParams::CheckDepositBehavior::OrSymbol
|
|
23
|
-
)
|
|
24
|
-
)
|
|
25
|
-
end
|
|
26
|
-
attr_reader :check_deposit_behavior
|
|
27
|
-
|
|
28
|
-
sig do
|
|
29
|
-
params(
|
|
30
|
-
check_deposit_behavior:
|
|
31
|
-
Increase::LockboxUpdateParams::CheckDepositBehavior::OrSymbol
|
|
32
|
-
).void
|
|
33
|
-
end
|
|
34
|
-
attr_writer :check_deposit_behavior
|
|
35
|
-
|
|
36
|
-
# The description you choose for the Lockbox.
|
|
37
|
-
sig { returns(T.nilable(String)) }
|
|
38
|
-
attr_reader :description
|
|
39
|
-
|
|
40
|
-
sig { params(description: String).void }
|
|
41
|
-
attr_writer :description
|
|
42
|
-
|
|
43
|
-
# The recipient name you choose for the Lockbox.
|
|
44
|
-
sig { returns(T.nilable(String)) }
|
|
45
|
-
attr_reader :recipient_name
|
|
46
|
-
|
|
47
|
-
sig { params(recipient_name: String).void }
|
|
48
|
-
attr_writer :recipient_name
|
|
49
|
-
|
|
50
|
-
sig do
|
|
51
|
-
params(
|
|
52
|
-
lockbox_id: String,
|
|
53
|
-
check_deposit_behavior:
|
|
54
|
-
Increase::LockboxUpdateParams::CheckDepositBehavior::OrSymbol,
|
|
55
|
-
description: String,
|
|
56
|
-
recipient_name: String,
|
|
57
|
-
request_options: Increase::RequestOptions::OrHash
|
|
58
|
-
).returns(T.attached_class)
|
|
59
|
-
end
|
|
60
|
-
def self.new(
|
|
61
|
-
# The identifier of the Lockbox.
|
|
62
|
-
lockbox_id:,
|
|
63
|
-
# This indicates if checks mailed to this lockbox will be deposited.
|
|
64
|
-
check_deposit_behavior: nil,
|
|
65
|
-
# The description you choose for the Lockbox.
|
|
66
|
-
description: nil,
|
|
67
|
-
# The recipient name you choose for the Lockbox.
|
|
68
|
-
recipient_name: nil,
|
|
69
|
-
request_options: {}
|
|
70
|
-
)
|
|
71
|
-
end
|
|
72
|
-
|
|
73
|
-
sig do
|
|
74
|
-
override.returns(
|
|
75
|
-
{
|
|
76
|
-
lockbox_id: String,
|
|
77
|
-
check_deposit_behavior:
|
|
78
|
-
Increase::LockboxUpdateParams::CheckDepositBehavior::OrSymbol,
|
|
79
|
-
description: String,
|
|
80
|
-
recipient_name: String,
|
|
81
|
-
request_options: Increase::RequestOptions
|
|
82
|
-
}
|
|
83
|
-
)
|
|
84
|
-
end
|
|
85
|
-
def to_hash
|
|
86
|
-
end
|
|
87
|
-
|
|
88
|
-
# This indicates if checks mailed to this lockbox will be deposited.
|
|
89
|
-
module CheckDepositBehavior
|
|
90
|
-
extend Increase::Internal::Type::Enum
|
|
91
|
-
|
|
92
|
-
TaggedSymbol =
|
|
93
|
-
T.type_alias do
|
|
94
|
-
T.all(Symbol, Increase::LockboxUpdateParams::CheckDepositBehavior)
|
|
95
|
-
end
|
|
96
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
97
|
-
|
|
98
|
-
# Checks mailed to this Lockbox will be deposited.
|
|
99
|
-
ENABLED =
|
|
100
|
-
T.let(
|
|
101
|
-
:enabled,
|
|
102
|
-
Increase::LockboxUpdateParams::CheckDepositBehavior::TaggedSymbol
|
|
103
|
-
)
|
|
104
|
-
|
|
105
|
-
# Checks mailed to this Lockbox will not be deposited.
|
|
106
|
-
DISABLED =
|
|
107
|
-
T.let(
|
|
108
|
-
:disabled,
|
|
109
|
-
Increase::LockboxUpdateParams::CheckDepositBehavior::TaggedSymbol
|
|
110
|
-
)
|
|
111
|
-
|
|
112
|
-
# Checks mailed to this Lockbox will be pending until actioned.
|
|
113
|
-
PEND_FOR_PROCESSING =
|
|
114
|
-
T.let(
|
|
115
|
-
:pend_for_processing,
|
|
116
|
-
Increase::LockboxUpdateParams::CheckDepositBehavior::TaggedSymbol
|
|
117
|
-
)
|
|
118
|
-
|
|
119
|
-
sig do
|
|
120
|
-
override.returns(
|
|
121
|
-
T::Array[
|
|
122
|
-
Increase::LockboxUpdateParams::CheckDepositBehavior::TaggedSymbol
|
|
123
|
-
]
|
|
124
|
-
)
|
|
125
|
-
end
|
|
126
|
-
def self.values
|
|
127
|
-
end
|
|
128
|
-
end
|
|
129
|
-
end
|
|
130
|
-
end
|
|
131
|
-
end
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type lockbox =
|
|
4
|
-
{
|
|
5
|
-
id: String,
|
|
6
|
-
account_id: String,
|
|
7
|
-
address: Increase::Lockbox::Address,
|
|
8
|
-
check_deposit_behavior: Increase::Models::Lockbox::check_deposit_behavior,
|
|
9
|
-
created_at: Time,
|
|
10
|
-
description: String?,
|
|
11
|
-
idempotency_key: String?,
|
|
12
|
-
recipient_name: String?,
|
|
13
|
-
type: Increase::Models::Lockbox::type_
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
class Lockbox < Increase::Internal::Type::BaseModel
|
|
17
|
-
attr_accessor id: String
|
|
18
|
-
|
|
19
|
-
attr_accessor account_id: String
|
|
20
|
-
|
|
21
|
-
attr_accessor address: Increase::Lockbox::Address
|
|
22
|
-
|
|
23
|
-
attr_accessor check_deposit_behavior: Increase::Models::Lockbox::check_deposit_behavior
|
|
24
|
-
|
|
25
|
-
attr_accessor created_at: Time
|
|
26
|
-
|
|
27
|
-
attr_accessor description: String?
|
|
28
|
-
|
|
29
|
-
attr_accessor idempotency_key: String?
|
|
30
|
-
|
|
31
|
-
attr_accessor recipient_name: String?
|
|
32
|
-
|
|
33
|
-
attr_accessor type: Increase::Models::Lockbox::type_
|
|
34
|
-
|
|
35
|
-
def initialize: (
|
|
36
|
-
id: String,
|
|
37
|
-
account_id: String,
|
|
38
|
-
address: Increase::Lockbox::Address,
|
|
39
|
-
check_deposit_behavior: Increase::Models::Lockbox::check_deposit_behavior,
|
|
40
|
-
created_at: Time,
|
|
41
|
-
description: String?,
|
|
42
|
-
idempotency_key: String?,
|
|
43
|
-
recipient_name: String?,
|
|
44
|
-
type: Increase::Models::Lockbox::type_
|
|
45
|
-
) -> void
|
|
46
|
-
|
|
47
|
-
def to_hash: -> {
|
|
48
|
-
id: String,
|
|
49
|
-
account_id: String,
|
|
50
|
-
address: Increase::Lockbox::Address,
|
|
51
|
-
check_deposit_behavior: Increase::Models::Lockbox::check_deposit_behavior,
|
|
52
|
-
created_at: Time,
|
|
53
|
-
description: String?,
|
|
54
|
-
idempotency_key: String?,
|
|
55
|
-
recipient_name: String?,
|
|
56
|
-
type: Increase::Models::Lockbox::type_
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
type address =
|
|
60
|
-
{
|
|
61
|
-
city: String,
|
|
62
|
-
:line1 => String,
|
|
63
|
-
:line2 => String,
|
|
64
|
-
postal_code: String,
|
|
65
|
-
recipient: String?,
|
|
66
|
-
state: String
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
class Address < Increase::Internal::Type::BaseModel
|
|
70
|
-
attr_accessor city: String
|
|
71
|
-
|
|
72
|
-
attr_accessor line1: String
|
|
73
|
-
|
|
74
|
-
attr_accessor line2: String
|
|
75
|
-
|
|
76
|
-
attr_accessor postal_code: String
|
|
77
|
-
|
|
78
|
-
attr_accessor recipient: String?
|
|
79
|
-
|
|
80
|
-
attr_accessor state: String
|
|
81
|
-
|
|
82
|
-
def initialize: (
|
|
83
|
-
city: String,
|
|
84
|
-
line1: String,
|
|
85
|
-
line2: String,
|
|
86
|
-
postal_code: String,
|
|
87
|
-
recipient: String?,
|
|
88
|
-
state: String
|
|
89
|
-
) -> void
|
|
90
|
-
|
|
91
|
-
def to_hash: -> {
|
|
92
|
-
city: String,
|
|
93
|
-
:line1 => String,
|
|
94
|
-
:line2 => String,
|
|
95
|
-
postal_code: String,
|
|
96
|
-
recipient: String?,
|
|
97
|
-
state: String
|
|
98
|
-
}
|
|
99
|
-
end
|
|
100
|
-
|
|
101
|
-
type check_deposit_behavior = :enabled | :disabled | :pend_for_processing
|
|
102
|
-
|
|
103
|
-
module CheckDepositBehavior
|
|
104
|
-
extend Increase::Internal::Type::Enum
|
|
105
|
-
|
|
106
|
-
# Checks mailed to this Lockbox will be deposited.
|
|
107
|
-
ENABLED: :enabled
|
|
108
|
-
|
|
109
|
-
# Checks mailed to this Lockbox will not be deposited.
|
|
110
|
-
DISABLED: :disabled
|
|
111
|
-
|
|
112
|
-
# Checks mailed to this Lockbox will be pending until actioned.
|
|
113
|
-
PEND_FOR_PROCESSING: :pend_for_processing
|
|
114
|
-
|
|
115
|
-
def self?.values: -> ::Array[Increase::Models::Lockbox::check_deposit_behavior]
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
type type_ = :lockbox
|
|
119
|
-
|
|
120
|
-
module Type
|
|
121
|
-
extend Increase::Internal::Type::Enum
|
|
122
|
-
|
|
123
|
-
LOCKBOX: :lockbox
|
|
124
|
-
|
|
125
|
-
def self?.values: -> ::Array[Increase::Models::Lockbox::type_]
|
|
126
|
-
end
|
|
127
|
-
end
|
|
128
|
-
end
|
|
129
|
-
end
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type lockbox_update_params =
|
|
4
|
-
{
|
|
5
|
-
lockbox_id: String,
|
|
6
|
-
check_deposit_behavior: Increase::Models::LockboxUpdateParams::check_deposit_behavior,
|
|
7
|
-
description: String,
|
|
8
|
-
recipient_name: String
|
|
9
|
-
}
|
|
10
|
-
& Increase::Internal::Type::request_parameters
|
|
11
|
-
|
|
12
|
-
class LockboxUpdateParams < Increase::Internal::Type::BaseModel
|
|
13
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
14
|
-
include Increase::Internal::Type::RequestParameters
|
|
15
|
-
|
|
16
|
-
attr_accessor lockbox_id: String
|
|
17
|
-
|
|
18
|
-
attr_reader check_deposit_behavior: Increase::Models::LockboxUpdateParams::check_deposit_behavior?
|
|
19
|
-
|
|
20
|
-
def check_deposit_behavior=: (
|
|
21
|
-
Increase::Models::LockboxUpdateParams::check_deposit_behavior
|
|
22
|
-
) -> Increase::Models::LockboxUpdateParams::check_deposit_behavior
|
|
23
|
-
|
|
24
|
-
attr_reader description: String?
|
|
25
|
-
|
|
26
|
-
def description=: (String) -> String
|
|
27
|
-
|
|
28
|
-
attr_reader recipient_name: String?
|
|
29
|
-
|
|
30
|
-
def recipient_name=: (String) -> String
|
|
31
|
-
|
|
32
|
-
def initialize: (
|
|
33
|
-
lockbox_id: String,
|
|
34
|
-
?check_deposit_behavior: Increase::Models::LockboxUpdateParams::check_deposit_behavior,
|
|
35
|
-
?description: String,
|
|
36
|
-
?recipient_name: String,
|
|
37
|
-
?request_options: Increase::request_opts
|
|
38
|
-
) -> void
|
|
39
|
-
|
|
40
|
-
def to_hash: -> {
|
|
41
|
-
lockbox_id: String,
|
|
42
|
-
check_deposit_behavior: Increase::Models::LockboxUpdateParams::check_deposit_behavior,
|
|
43
|
-
description: String,
|
|
44
|
-
recipient_name: String,
|
|
45
|
-
request_options: Increase::RequestOptions
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
type check_deposit_behavior = :enabled | :disabled | :pend_for_processing
|
|
49
|
-
|
|
50
|
-
module CheckDepositBehavior
|
|
51
|
-
extend Increase::Internal::Type::Enum
|
|
52
|
-
|
|
53
|
-
# Checks mailed to this Lockbox will be deposited.
|
|
54
|
-
ENABLED: :enabled
|
|
55
|
-
|
|
56
|
-
# Checks mailed to this Lockbox will not be deposited.
|
|
57
|
-
DISABLED: :disabled
|
|
58
|
-
|
|
59
|
-
# Checks mailed to this Lockbox will be pending until actioned.
|
|
60
|
-
PEND_FOR_PROCESSING: :pend_for_processing
|
|
61
|
-
|
|
62
|
-
def self?.values: -> ::Array[Increase::Models::LockboxUpdateParams::check_deposit_behavior]
|
|
63
|
-
end
|
|
64
|
-
end
|
|
65
|
-
end
|
|
66
|
-
end
|